package com.example.service;

import com.example.pojo.assemblyEquipmentPojo;
import com.example.pojo.faultHistoryPojo;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

/**
 * ClassName:assemblyEquipmentService
 * Description:
 *
 * @Author 赵永峰
 * @Create 2024/9/28 19:55
 * @Version 1.0
 */
public interface assemblyEquipmentService {
    //在主表中插入一行数据
    void insertOne(assemblyEquipmentPojo assemblyEquipmentPojo);
    //根据两个字段查询出大表数据
    List<assemblyEquipmentPojo> inquiryByTowFiled(Map<String, Object> objectMap);
    //根据id，修改一行数据
    void editById(assemblyEquipmentPojo assemblyEquipmentPojo);
    //根据传来的数据，修改一个字段，根据id修改
    void EditOneById(Map<String, Object> map);
    //对设备问题插入一行数据
    void assemblyEquipmentFaultHistoryInsert(faultHistoryPojo faultHistoryPojo);
    //设备人员到位了，要处理问题，进行到位时间记录，筛选出本序还没有人处理的问题
    List<faultHistoryPojo> assemblyEquipmentFaultHistoryFirstReach(Map<String, Object> map);
}
